package com.black.system.domain.req.sysconfig;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

@Getter
@Setter
@ApiModel(value = "系统参数添加模型")
public class SysConfigAddReq {

    @ApiModelProperty(value = "参数名称", required = true)
    @NotBlank(message = "{sysconfig.not.configName}")
    private String configName;

    @ApiModelProperty(value = "参数键名", required = true)
    @NotBlank(message = "{sysconfig.not.configKey}")
    private String configKey;

    @ApiModelProperty(value = "参数键值", required = true)
    @NotBlank(message = "{sysconfig.not.configValue}")
    private String configValue;

    @ApiModelProperty(value = "系统内置（Y是 N否）", required = true)
    @NotBlank(message = "{sysconfig.not.configType}")
    private String configType;

    @ApiModelProperty(value = "备注")
    private String remark;
}
